package com.example.restaurant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 菜品评价表
 * </p>
 *
 * @author x
 * @since 2022-09-29
 */
@TableName("menu_evaluate")
@ApiModel(value = "MenuEvaluate对象", description = "菜品评价表")
public class MenuEvaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联菜品id")
    private Integer dishId;

    @ApiModelProperty("菜品评分")
    private String menuGrade;

    @ApiModelProperty("菜品评价")
    private String menuEvaluate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getMenuGrade() {
        return menuGrade;
    }

    public void setMenuGrade(String menuGrade) {
        this.menuGrade = menuGrade;
    }

    public String getMenuEvaluate() {
        return menuEvaluate;
    }

    public void setMenuEvaluate(String menuEvaluate) {
        this.menuEvaluate = menuEvaluate;
    }

    @Override
    public String toString() {
        return "MenuEvaluate{" +
        "id = " + id +
        ", dishId = " + dishId +
        ", menuGrade = " + menuGrade +
        ", menuEvaluate = " + menuEvaluate +
        "}";
    }
}
